package br.com.ericogr.hanoi;

import android.app.Application;
import android.content.Context;

public class Aplicativo extends Application {
    private static Context mContext;

    @Override
    public void onCreate() {
        super.onCreate();
        mContext = this;
    }

    public static Context getContext(){
        return mContext;
    }
    
    public static String getTexto(int resId) {
        return mContext.getString(resId);
    }
    
    public static String getTexto(int resId, Object... formats) {
        return mContext.getString(resId, formats);
    }
    
}
